package com.limanyik.family.oss.message.service;

import com.limanyik.family.common.entity.server.base.dto.MobilePhoneMessageDto;
import com.limanyik.family.common.entity.server.base.vo.MobilePhoneMessageVo;

/**
 * 消息工厂
 */
public interface MessageService {

    /**
     * 发送通用短信
     *
     * @param mobilePhoneMessageVo
     */
    void sendMessage(MobilePhoneMessageVo mobilePhoneMessageVo);

    /**
     * 发送验证码
     *
     * @param mobilePhoneMessageVo
     */
    MobilePhoneMessageDto verificationCode(MobilePhoneMessageVo mobilePhoneMessageVo);

}
